sil-openclaw 0.3.9 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -10,6 +10,66 @@ release (`clawhub package publish --changelog`). See [README](./README.md#releas
10
10
 
11
11
  ## [Unreleased]
12
12
 
13
+ ## [0.4.0] - 2026-07-13
14
+
15
+ ### Changed
16
+
17
+ - **Spec-Driven Shopping rebuilt around a frontmatter-as-truth store and a
18
+ six-beat loop (Phase 1).** The shopper's behaviour store is recast: the
19
+ `profile.json` manifest and the `domain_spec`/`intent_spec`/`playbook` triple
20
+ are **deleted** (no backwards compatibility — old flat packs read `unreadable`),
21
+ replaced by a filesystem-scanned layout `shopper/{user_spec.md,
22
+ domains/<slug>/{method.md, prds/<product>-<intent>.md, assets/}}` where each
23
+ file's own frontmatter IS the source of truth. Discovery is a scan, not an index
24
+ read; a file with malformed frontmatter is skipped and surfaced as `unreadable`,
25
+ never half-read. `sil_profile_materialize` is now **setup-only** (it writes the
26
+ shared `user_spec.md`, its frontmatter carrying the shopper name, and mints no
27
+ domain); `sil_profile_get` / `sil_profile_remove` take `domainSlug` + optional
28
+ `prd` selectors (read one body / remove a whole domain or one PRD). The bundled
29
+ `sil-shopping` skill is rewritten as the **six-beat** loop — classify → method →
30
+ fill → search-space → reflect → feedback — across new `references/shop_loop.md`,
31
+ `method_and_prds.md`, and `fill_and_feedback.md` (the `manage_domains.md` /
32
+ `refine_shopper.md` references are retired).
33
+ - **`sil_search` forwards an open-vocabulary `specs` predicate list and returns
34
+ observable `specs_status` (Phase 2, #55).** Pure transport, no client-side
35
+ matching: the plugin passes typed predicates (`{ ns, key, op, value, unit?,
36
+ hard? }`) under one namespaced `filters.specs` key and surfaces the backend's
37
+ per-predicate `specs_status` (`{ ns, key, applied }[]`, a sibling of `products`)
38
+ for Beat 5's hard-constraint honesty pass. An unindexed key **fails green**
39
+ (`applied: false`) — never dropped, never a fabricated `applied: true` — and
40
+ converges as the spec registry populates.
41
+
42
+ ### Added
43
+
44
+ - **`sil_learn` — one `target + change` write verb (5 kinds).** Replaces
45
+ `sil_remember`: `create` mints a whole method/PRD; `append` / `amend` / `retract`
46
+ refine a section-aware markdown body in place (single-occurrence match,
47
+ fail-closed); `attach-asset` persists image bytes into the domain's `assets/`
48
+ (owner-only, content-hashed) and links them by relative path. Targets
49
+ `user_spec` / `method` / `prd`; `hard` marks an inviolable constraint on
50
+ `user_spec`/`prd` appends.
51
+ - **`sil_profile_search` — the frontmatter-as-truth discovery tool.** Queries
52
+ artefact frontmatter and returns coordinates only (domains + PRDs, no bodies) —
53
+ the reuse-before-mint primitive that replaces the deleted manifest's index role;
54
+ malformed artefacts surface in an observable `unreadable[]`, never silently
55
+ dropped. Tool floor 8 → 9.
56
+ - **`sil_specs` — the spec-registry canonicalize-or-create tool (Phase 3, #57).**
57
+ The shopping method's Beat-2 mint submits the coined spec DEFINITIONS it invents
58
+ for a niche (`{ namespace, key, display_name, data_type, unit?, allowed_values?,
59
+ description? }`); each resolves 1:1 to a canonical name — **matched** an existing
60
+ spec (adopt its `canonical` `{ namespace, key }`, drop the coined synonym) or
61
+ **created** as new (yours is canonical going forward) — so the `filters.specs`
62
+ vocabulary converges across methods. Shares `sil_search`'s taxonomy (401
63
+ refresh-and-retry-once, `not_registered` / `forbidden` / `invalid_request` /
64
+ `retryable`) and degrades gracefully: a non-`ok` verdict never blocks the mint,
65
+ which proceeds with the raw coined names. Tool floor 9 → 10.
66
+
67
+ ### Removed
68
+
69
+ - **`sil_remember`** (renamed to `sil_learn` — no alias) and the `profile.json`
70
+ manifest machinery. The two operator bins now read the singleton from the
71
+ `user_spec.md` frontmatter, not the manifest.
72
+
13
73
  ## [0.3.9] - 2026-07-10
14
74
 
15
75
  ### Added